<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>管理员列表</title>
    <link href="__PUBLIC__/admin/css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="__PUBLIC__/admin/js/jquery.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/web/css/pintuer.css">
    <link rel="stylesheet" href="__PUBLIC__/web/css/admin.css">
    <script src="__PUBLIC__/web/js/pintuer.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
        $(".click").click(function() {
            $(".tip").fadeIn(200);
        });

        $(".tiptop a").click(function() {
            $(".tip").fadeOut(200);
        });

        $(".sure").click(function() {
            $(".tip").fadeOut(100);
        });

        $(".cancel").click(function() {
            $(".tip").fadeOut(100);
        });

    });
    </script>
</head>

<body>
    <div class="rightinfo">
        <div class="tools">
            <ul class="toolbar">
                <li><a href="{:U('Admin/add')}"><span><img src="__PUBLIC__/admin/images/t01.png" /></span>添加管理员</a></li>
            </ul>
        </div>
        <table class="tablelist">
            <thead>
                <tr>
                    <th width="80px">
                        <input name="" type="checkbox" value="" id="checkAll" />
                    </th>
                    <th>编号</th>
                    <th>帐号</th>
                    <th>权限</th>
                    <th>最后登录时间</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <volist name="list" id="vo">
                <tr>
                    <td>
                        <input name="" type="checkbox" value="" />
                    </td>
                    <td>{$vo.account_id}</td>
                    <td>{$vo.account_name}</td>
                    <td>{$vo.role_name}</td>
                    <td>{$vo.login_time|date='Y-m-d H:i:s',###}</td>
                    <td><a href="{:U('edit',array('id'=>$vo['account_id']))}" class="tablelink">编辑</a> <a href="{:U('del',array('id'=>$vo['account_id']))}" class="tablelink"> 删除</a></td>
                </tr>
                </volist>
            </tbody>
        </table>
    </div>
    <script type="text/javascript">
        $('.tablelist tbody tr:odd').addClass('odd');
    </script>
</body>

</html>
